<template>
  <div class="left">
    <div class="top">
      <div class="title">
        <img
          src="../../../assets/img/grovernance/moeny.png"
          height="20px"
          alt=""
        />
        <span>乡村积分</span>
      </div>
      <div class="sub-title">
        <div class="small-title">
          <img src="../../../assets/img/grovernance/三角形.png" width="15px" />
          <span>个人积分榜前10名</span>
        </div>
        <div class="rang-all">
          <!-- 1 -->
          <div class="range">
            <div class="icon">
              <img
                src="../../../assets/img/grovernance/rand1.png"
                height="32px"
                alt=""
              />
              <div class="rang-bgc">
                <span class="rang-num">1</span>
                <span>刘小雨</span>
                <span>110 <span>分</span></span>
              </div>
            </div>
          </div>
          <!-- 2 -->
          <div class="range">
            <div class="icon">
              <img
                src="../../../assets/img/grovernance/rand2.png"
                height="32px"
                alt=""
              />
              <div class="rang-bgc">
                <span class="rang-num">2</span>
                <span>刘小雨</span>
                <span>110 <span>分</span></span>
              </div>
            </div>
          </div>
          <!-- 3 -->
          <div class="range">
            <div class="icon">
              <img
                src="../../../assets/img/grovernance/rand3.png"
                height="32px"
                alt=""
              />
              <div class="rang-bgc">
                <span class="rang-num">3</span>
                <span>刘小雨</span>
                <span>110 <span>分</span></span>
              </div>
            </div>
          </div>
          <!-- 4 -->
          <div class="range">
            <div class="icon">
              <img
                src="../../../assets/img/grovernance/rand4.png"
                height="32px"
                alt=""
              />
              <div class="rang-bgc">
                <span class="rang-num">4</span>
                <span>刘小雨</span>
                <span>110 <span>分</span></span>
              </div>
            </div>
          </div>
          <!-- 5 -->
          <div class="range">
            <div class="icon">
              <img
                src="../../../assets/img/grovernance/rand5.png"
                height="32px"
                alt=""
              />
              <div class="rang-bgc">
                <span class="rang-num">5</span>
                <span>刘小雨</span>
                <span>110 <span>分</span></span>
              </div>
            </div>
          </div>
          <!-- 6 -->
          <div class="range">
            <div class="icon">
              <img
                src="../../../assets/img/grovernance/rand6.png"
                height="32px"
                alt=""
              />
              <div class="rang-bgc">
                <span class="rang-num">6</span>
                <span>刘小雨</span>
                <span>110 <span>分</span></span>
              </div>
            </div>
          </div>
          <!-- 7 -->
          <div class="range">
            <div class="icon">
              <img
                src="../../../assets/img/grovernance/rand6.png"
                height="32px"
                alt=""
              />
              <div class="rang-bgc">
                <span class="rang-num">7</span>
                <span>刘小雨</span>
                <span>110 <span>分</span></span>
              </div>
            </div>
          </div>
          <!-- 8 -->
          <div class="range">
            <div class="icon">
              <img
                src="../../../assets/img/grovernance/rand6.png"
                height="32px"
                alt=""
              />
              <div class="rang-bgc">
                <span class="rang-num">8</span>
                <span>刘小雨</span>
                <span>110 <span>分</span></span>
              </div>
            </div>
          </div>
          <!-- 9 -->
          <div class="range">
            <div class="icon">
              <img
                src="../../../assets/img/grovernance/rand6.png"
                height="32px"
                alt=""
              />
              <div class="rang-bgc">
                <span class="rang-num">9</span>
                <span>刘小雨</span>
                <span>110 <span>分</span></span>
              </div>
            </div>
          </div>
          <!-- 10 -->
          <div class="range">
            <div class="icon">
              <img
                src="../../../assets/img/grovernance/rand6.png"
                height="32px"
                alt=""
              />
              <div class="rang-bgc">
                <span class="rang-num">10</span>
                <span>刘小雨</span>
                <span>110 <span>分</span></span>
              </div>
            </div>
          </div>
        </div>
        <!-- 最美党员 -->
        <div class="cf">
          <div class="small-title">
            <img
              src="../../../assets/img/grovernance/三角形.png"
              width="15px"
            />
            <span>最美党员前3名</span>
          </div>
          <div class="rang-all" style="flex-wrap: nowrap">
            <!-- 1 -->
            <div class="range">
              <div class="icon">
                <img
                  src="../../../assets/img/grovernance/金牌.png"
                  height="32px"
                  alt=""
                />
                <div
                  class="rang-bgc"
                  style="border: 2px solid #dfbc6e; background-color: #493830"
                >
                  <span>刘小雨</span>
                  <span>110 <span>分</span></span>
                </div>
              </div>
            </div>
            <!-- 2 -->
            <div class="range">
              <div class="icon">
                <img
                  src="../../../assets/img/grovernance/银牌.png"
                  height="32px"
                  alt=""
                />
                <div
                  class="rang-bgc"
                  style="border: 2px solid #8da8d8; background-color: #2f4677"
                >
                  <span>刘小雨</span>
                  <span>110 <span>分</span></span>
                </div>
              </div>
            </div>
            <!-- 3 -->
            <div class="range">
              <div class="icon">
                <img
                  src="../../../assets/img/grovernance/铜牌.png"
                  height="32px"
                  alt=""
                />
                <div
                  class="rang-bgc"
                  style="border: 2px solid #644241; background-color: #3b354b"
                >
                  <span>刘小雨</span>
                  <span>110 <span>分</span></span>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- 五星党员 -->
        <div class="cf">
          <div class="small-title">
            <img
              src="../../../assets/img/grovernance/三角形.png"
              width="15px"
            />
            <span>五星党员前3名</span>
          </div>
          <div class="rang-all" style="flex-wrap: nowrap">
            <!-- 1 -->
            <div class="range">
              <div class="icon">
                <img
                  src="../../../assets/img/grovernance/金牌.png"
                  height="32px"
                  alt=""
                />
                <div
                  class="rang-bgc"
                  style="border: 2px solid #dfbc6e; background-color: #493830"
                >
                  <span>刘小雨</span>
                  <span>110 <span>分</span></span>
                </div>
              </div>
            </div>
            <!-- 2 -->
            <div class="range">
              <div class="icon">
                <img
                  src="../../../assets/img/grovernance/银牌.png"
                  height="32px"
                  alt=""
                />
                <div
                  class="rang-bgc"
                  style="border: 2px solid #8da8d8; background-color: #2f4677"
                >
                  <span>刘小雨</span>
                  <span>110 <span>分</span></span>
                </div>
              </div>
            </div>
            <!-- 3 -->
            <div class="range">
              <div class="icon">
                <img
                  src="../../../assets/img/grovernance/铜牌.png"
                  height="32px"
                  alt=""
                />
                <div
                  class="rang-bgc"
                  style="border: 2px solid #644241; background-color: #3b354b"
                >
                  <span>刘小雨</span>
                  <span>110 <span>分</span></span>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- 最美家庭 -->
        <div class="cf">
          <div class="small-title">
            <img
              src="../../../assets/img/grovernance/三角形.png"
              width="15px"
            />
            <span>最美家庭前3名</span>
          </div>
          <div class="rang-all" style="flex-wrap: nowrap">
            <!-- 1 -->
            <div class="range">
              <div class="icon">
                <img
                  src="../../../assets/img/grovernance/金牌.png"
                  height="32px"
                  alt=""
                />
                <div
                  class="rang-bgc"
                  style="border: 2px solid #dfbc6e; background-color: #493830"
                >
                  <span>刘小雨</span>
                  <span>110 <span>分</span></span>
                </div>
              </div>
            </div>
            <!-- 2 -->
            <div class="range">
              <div class="icon">
                <img
                  src="../../../assets/img/grovernance/银牌.png"
                  height="32px"
                  alt=""
                />
                <div
                  class="rang-bgc"
                  style="border: 2px solid #8da8d8; background-color: #2f4677"
                >
                  <span>刘小雨</span>
                  <span>110 <span>分</span></span>
                </div>
              </div>
            </div>
            <!-- 3 -->
            <div class="range">
              <div class="icon">
                <img
                  src="../../../assets/img/grovernance/铜牌.png"
                  height="32px"
                  alt=""
                />
                <div
                  class="rang-bgc"
                  style="border: 2px solid #644241; background-color: #3b354b"
                >
                  <span>刘小雨</span>
                  <span>110 <span>分</span></span>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- 最美儿媳 -->
        <div class="bottom">
          <div class="small-title">
            <img
              src="../../../assets/img/grovernance/三角形.png"
              width="15px"
            />
            <span>最美儿媳前3名</span>
          </div>
          <div class="rang-all" style="flex-wrap: nowrap">
            <!-- 1 -->
            <div class="range">
              <div class="icon">
                <div class="images">
                  <img
                    src="../../../assets/img/grovernance/cuboid.png"
                    height="120px"
                    class="two"
                  />
                  <img
                    src="../../../assets/img/grovernance/cuboid.png"
                    height="150px"
                    class="one"
                  />
                  <img
                    src="../../../assets/img/grovernance/cuboid.png"
                    height="100px"
                    class="three"
                  />
                  <img
                    class="jin"
                    src="../../../assets/img/grovernance/金牌.png"
                  />
                  <img
                    class="yin"
                    src="../../../assets/img/grovernance/银牌.png"
                    width="58px"
                  />
                  <img
                    class="tong"
                    src="../../../assets/img/grovernance/铜牌.png"
                    width="50px"
                  />
                  <!-- 第一名 -->
                  <div class="text" style="top: 0; left: 45px">
                    <span style="font-size: 22px; font-weight: bold"
                      >100 <span>分</span></span
                    >
                    <span style="font-size: 18px">刘小雨</span>
                  </div>
                  <!-- 第二名 -->
                  <div class="text" style="top: 20px; left: -48px">
                    <span style="font-size: 22px; font-weight: bold"
                      >95 <span>分</span></span
                    >
                    <span style="font-size: 18px">刘小雨</span>
                  </div>
                  <!-- 第三名  -->
                  <div class="text" style="top: 40px; right: -45px">
                    <span style="font-size: 22px; font-weight: bold"
                      >90 <span>分</span></span
                    >
                    <span style="font-size: 18px">刘小雨</span>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- 最美村官 -->
        <div class="bottom">
          <div class="small-title">
            <img
              src="../../../assets/img/grovernance/三角形.png"
              width="15px"
            />
            <span>最美村官前3名</span>
          </div>
          <div class="rang-all" style="flex-wrap: nowrap">
            <!-- 1 -->
            <div class="range">
              <div class="icon">
                <div class="images" style="margin-top: -30px">
                  <img
                    src="../../../assets/img/grovernance/cuboid.png"
                    height="120px"
                    class="two"
                  />
                  <img
                    src="../../../assets/img/grovernance/cuboid.png"
                    height="150px"
                    class="one"
                  />
                  <img
                    src="../../../assets/img/grovernance/cuboid.png"
                    height="100px"
                    class="three"
                  />
                  <img
                    class="jin"
                    src="../../../assets/img/grovernance/金牌.png"
                  />
                  <img
                    class="yin"
                    src="../../../assets/img/grovernance/银牌.png"
                    width="58px"
                  />
                  <img
                    class="tong"
                    src="../../../assets/img/grovernance/铜牌.png"
                    width="50px"
                  />
                  <!-- 第一名 -->
                  <div class="text" style="top: 0; left: 45px">
                    <span style="font-size: 22px; font-weight: bold"
                      >100 <span>分</span></span
                    >
                    <span style="font-size: 18px">刘小雨</span>
                  </div>
                  <!-- 第二名 -->
                  <div class="text" style="top: 20px; left: -48px">
                    <span style="font-size: 22px; font-weight: bold"
                      >95 <span>分</span></span
                    >
                    <span style="font-size: 18px">刘小雨</span>
                  </div>
                  <!-- 第三名  -->
                  <div class="text" style="top: 40px; right: -45px">
                    <span style="font-size: 22px; font-weight: bold"
                      >90 <span>分</span></span
                    >
                    <span style="font-size: 18px">刘小雨</span>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- <div class="center">中部</div>
    <div class="bottom">底部</div> -->
  </div>
</template>

<script>
export default {
  name: "GovernLeft",
};
</script>

<style lang="scss" scoped>
.images {
  margin: 0 auto;
  position: relative;
  margin-top: -20px;
  .two {
    position: absolute;
    bottom: 0;
    left: -86px;
  }
  .three {
    position: absolute;
    bottom: 0;
    right: -67px;
  }
}
.text {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}
.jin {
  position: absolute;
  top: 55px;
  left: 38px;
  z-index: 999;
}
.yin {
  position: absolute;
  top: 74px;
  left: -58px;
  z-index: 999;
}
.tong {
  position: absolute;
  top: 88px;
  right: -40px;
  z-index: 999;
}
.cf {
  margin-bottom: 10px;
}
.left {
  flex: 35%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  // justify-content: space-between;
}
.top {
  .title {
    height: 40px;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 10px;
    background: linear-gradient(90deg, #288ad6 0%, #09306c 100%);
    span {
      margin-left: 10px;
      font-size: 22px;
      color: #dcd58a;
      font-weight: bold;
    }
  }
}
.sub-title {
  margin-top: 5px;
  margin-left: 20px;
}
.small-title {
  display: flex;
  align-items: center;
}
.icon {
  margin-top: 10px;
  margin-left: 10px;
  display: flex;
  .rang-bgc {
    background-color: #48474e;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 30px;
    width: 100%;
    position: relative;
    .rang-num {
      position: absolute;
      left: 0px;
      font-weight: bold;
      font-size: 20px;
      color: white;
    }
  }
}
.rang-all {
  display: flex;
  flex-wrap: wrap;
  // height: 500px;
}
.range {
  margin-bottom: 15px;
  flex: 50%;
}
</style>
